package cn.player.act;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import cn.player.R;

public class GreenDaoTestActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_green_dao_test);

        /*DaoMaster.DevOpenHelper helper = new DaoMaster.DevOpenHelper(this, "videoInfo.db");
        DaoMaster daoMaster = new DaoMaster(helper.getWritableDb());
        DaoSession daoSession = daoMaster.newSession();

        daoSession.insert(new VideoInfo());


        DaoMaster.OpenHelper openHelper = new VideoInfoOpenHelper(this, "videoInfo.db");*/

    }


    /*class VideoInfoOpenHelper extends DaoMaster.OpenHelper {

        public VideoInfoOpenHelper(Context context, String name) {
            super(context, name);
        }

        public VideoInfoOpenHelper(Context context, String name, SQLiteDatabase.CursorFactory factory) {
            super(context, name, factory);
        }
    }*/
}
